<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        // document.onkeydown = function(e){
        //     // let keycode = e.keyCode;
        //     // console.log(keycode);
        //     let key = e.key;
        //     // console.log(key);
        //     console.log(e.ctrlKey);
        //     if(key=="a" && e.ctrlKey){ // 组合按键
        //         console.log("按了 ctrl+a按键");
        //     }
        // }

        // let num = setTimeout(() => {
        //     console.log(1111)
        // }, 1000);
        // console.log(num);


    </script>
</body>
</html>